let reg=/[0-9]\d{5}(18|19|[23]\d)\d{2}(0[1-9]|1[0-2])([0-2][1-9]|10|20|30|31)\d{3}[0-9xX]/
let id='43123420050305002001x'
let phoneReg=/^1[3-9]\d{9}/
let phone='13807311234'
let userReg=/^[a-zA-Z]{3,10}$/
let username='zsls'
console.log(reg.test(id));
console.log(phoneReg.test(phone));
console.log(userReg.test(username));